// @ts-ignore
/* eslint-disable */
import { request } from "../../utils/request";

/** 数据分析 签到推广  */
export async function targetPromotion(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AnalysisData.TargetPromotion>>(
    '/analysis/target/promotion',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 数据分析 线索征集  */
export async function targetCuesTopic(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AnalysisData.TargetCuesTopic>>(
    '/analysis/target/cues/topic',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 数据分析 主动报送  */
export async function targetCuesActive(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AnalysisData.TargetCuesActive>>(
    '/analysis/target/cues/active',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 数据分析 综合传播影响力  */
export async function targetPublicity(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AnalysisData.TargetPublicity>>(
    '/analysis/target/line',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 数据分析 综合传播影响力 */
export async function trendLine(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AnalysisData.TrendLine[]>>('/analysis/trend/line', {
    method: 'POST',
    data: options || {},
  });
}

/** 数据分析 线索报送量、线索收录、宣传刊播  */
export async function trendColumn(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AnalysisData.TrendColumn[]>>('/analysis/trend/column', {
    method: 'POST',
    data: options || {},
  });
}

/** 数据分析 线索征集  */
export async function trendRank(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AnalysisData.TrendRank[]>>('/analysis/trend/rank', {
    method: 'POST',
    data: options || {},
  });
}

/** 数据分析 综合面板 组织树  */
export async function overallOrganizationTree(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AdminOrganizationData.Organization[]>>(
    '/analysis/overall/organization/tree',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 数据分析 综合面板 详情  */
export async function overallPanel(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<AnalysisData.OverallPanel>>('/analysis/overall/panel', {
    method: 'POST',
    data: options || {},
  });
}

/** 数据分析 综合面板 组织树  */
export async function overallPanelPublicityPage(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<AnalysisData.OverallPanelPublicity[]>>(
    '/analysis/overall/panel/publicity/page',
    {
      method: 'POST',
      data: options || {},
    },
  );
}
